#include "pch.h"
#include "include/mutex.h"


//-------------------------------------------------------------------------------------
Mutex::Mutex()
{
	THREAD_MUTEX_INIT(m_mutex);
}
Mutex::~Mutex()
{
	THREAD_MUTEX_DELETE(m_mutex);
}

void Mutex::lockMutex()
{
	THREAD_MUTEX_LOCK(m_mutex);
}
void Mutex::unlockMutex()
{
	THREAD_MUTEX_UNLOCK(m_mutex);
}

